package com.github.thinwonton.springboot.showcase.transaction.propagation.dao;

import com.github.thinwonton.springboot.showcase.transaction.propagation.domain.Orders;
import org.springframework.stereotype.Repository;

@Repository
public interface OrdersDao {
    int deleteByPrimaryKey(Long id);

    int insert(Orders record);

    int insertSelective(Orders record);

    Orders selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Orders record);

    int updateByPrimaryKey(Orders record);
}